package com.enjoyor.soa.traffic.core.efoms.enums;

/**
 * 运维管理字典枚举
 * 
 * @author fzj
 *
 */
public enum EnumDicPublic {
	/**
	 * 撤销原因
	 */
	REP_CANCEL_XXWB("CANCELREASON01","信息误报"),
	REP_CANCEL_GZWB("CANCELREASON02","故障误报"),
	REP_CANCEL_WXWC("CANCELREASON03","维修完成"),
	REP_CANCEL_QTYY("CANCELREASON04","其他原因"),
	/**
	 * 故障来源
	 */
	REPAIR_SOURCE_XJ("REPAIRSSOURCE01", "外场巡检"),
	REPAIR_SOURCE_YH("REPAIRSSOURCE02", "用户报修"),
	REPAIR_SOURCE_XS("REPAIRSSOURCE03", "线上巡检"),
	REPAIR_SOURCE_SZ("REPAIRSSOURCE04", "数字城管"),
	REPAIR_SOURCE_QZ("REPAIRSSOURCE05", "群众报障"),
	REPAIR_SOURCE_QT("REPAIRSSOURCE06", "其他来源"),
    /**
     * 设备类别：设备、设施；
     */
    DEV_CATEGORY("REPDEVCATEGORY01", "外场智能设备"),
    INS_CATEGORY("REPDEVCATEGORY02", "外场交通设施"),
    /**
     *设备类型： 信号机,视频监控,卡口,电子警察,地磁,线圈,微波,诱导屏,潮汐车道控制器,可变车道控制器,匝道控制器
     */
    SEMAPHORE("REPDEVTYPE01", "信号机"),
    VIDEO("REPDEVTYPE02", "视频监控"),
    FASTENER("REPDEVTYPE03", "卡口"),
    ELEPOLICE("REPDEVTYPE04", "电警"),
    MAGNETISM("REPDEVTYPE05", "地磁"),
    WINDING("REPDEVTYPE06", "线圈"),
    WAVELET("REPDEVTYPE07", "微波"),
    INSCREEN("REPDEVTYPE08", "诱导屏"),
    TIDEROADWAYPILOT("REPDEVTYPE09", "潮汐车道控制器"),
    CHANROADWAYPILOT("REPDEVTYPE10", "可变车道控制器"),
    RAMPPILOT("REPDEVTYPE11", "匝道控制器"),
    VIDEOCHECK("REPDEVTYPE12", "视频检测"),
    
    /**
     *设施类型：交通标线,交通护栏,交通标志
     */
    TRAFFIC_MARKING("REPDEVTYPE21", "交通标线"),
    TRAFFIC_RAILING("REPDEVTYPE22", "交通护栏"),
    TRAFFIC_SIGN("REPDEVTYPE23", "交通标志"),
    /**
     *故障类型： 控制器故障，检测器故障，通信故障，信号灯故障
     */
    PILOT_FAILURE("FAILURETYPE01", "控制器故障"),
    DETECTOR_FAILURE("FAILURETYPE02", "检测器故障"),
    MESSAG_EFAILURE("FAILURETYPE03", "通信故障"),
    SIG_LIGHT_FAILURE("FAILURETYPE04", "信号灯故障"),
	/**
     * 报修状态：待审核、已通过、已拒绝、已撤销
     */
	REP_WAITCHECK("REPAIRSTATUS01", "待审核"),
	REP_CHECKPASS("REPAIRSTATUS02", "已通过"),
	REP_CHECKREJECT("REPAIRSTATUS03", "已拒绝"),
	REP_ISDELETE("REPAIRSTATUS04", "已撤销"),
	/**
     * 维修工单状态：待派发、待维修、待确认、待二确、已驳回、待评价、已完结、已撤销
     */
    ORD_WAITDISPATCH("ORDERSSTATUS01", "待派发"),
    ORD_WAITREPAIR("ORDERSSTATUS02", "待维修"),
    ORD_WAITSURE("ORDERSSTATUS03", "待确认"),
    ORD_WAITAGAINSURE("ORDERSSTATUS04", "待二确"),
    ORD_ISREJECT("ORDERSSTATUS05", "已驳回"),
    ORD_WAITEVALUATE("ORDERSSTATUS06", "待评价"),
    ORD_ISFINISH("ORDERSSTATUS07", "已完结"),
    ORD_ISDELETE("ORDERSSTATUS08", "已撤销"),
    /**
     * 报修操作类型：申请、撤销、催办、审核、审核通过、审核拒绝
     */
    REP_OPER_APPLY("REPOPERTYPE01", "申请"),
    REP_OPER_DELETE("REPOPERTYPE02", "撤销"),
    REP_OPER_PRESS("REPOPERTYPE03", "催办"),
    REP_OPER_CHECK("REPOPERTYPE04", "审核"),
    REP_OPER_CHECKPASS("REPOPERTYPE05", "审核通过"),
    REP_OPER_CHECKREJECT("REPOPERTYPE06", "审核拒绝"),
    /**
     * 维修操作类型：立案、撤销、催办、派发、延期申请、延期审核、反馈、确认、二确、评价、确认通过、确认驳回
     */
    ORD_OPER_SUBMIT("ORDEROPERTYPE01", "立案"),
    ORD_OPER_DELETE("ORDEROPERTYPE02", "撤销"),
    ORD_OPER_PRESS("ORDEROPERTYPE03", "催办"),
    ORD_OPER_DISPATCH("ORDEROPERTYPE04", "派发"),
    ORD_OPER_POSTPONE("ORDEROPERTYPE05", "延期申请"),
    ORD_OPER_CHECK("ORDEROPERTYPE06", "延期审核"),
    ORD_OPER_FACKBACK("ORDEROPERTYPE07", "反馈"),
    ORD_OPER_SURE("ORDEROPERTYPE08", "确认"),
    ORD_OPER_AGAINSURE("ORDEROPERTYPE09", "二确"),
    ORD_OPER_EVALUATE("ORDEROPERTYPE10", "评价"),
    ORD_OPER_SUREPASS("ORDEROPERTYPE11", "确认通过"),
    ORD_OPER_SUREREJECT("ORDEROPERTYPE12", "确认驳回"),	 	 
    /**
     * 操作结果：审核通过、审核不通过、确认通过、确认不通过、未处理、已处理、进度反馈、完成反馈
     */
    OPER_CHECKPASS("OPERRESULT01", "审核通过"),
    OPER_CHECKREJECT("OPERRESULT02", "审核不通过"),
    OPER_SUREPASS("OPERRESULT03", "确认通过"),
    OPER_SUREREJECT("OPERRESULT04", "确认不通过"),
    OPER_NOHANDLE("OPERRESULT05", "未处理"),
    OPER_ISHANDLE("OPERRESULT06", "已处理"),
    OPER_FACKBACK_ING("OPERRESULT09", "进度反馈"),
    OPER_FACKBACK_OVER("OPERRESULT10", "完成反馈"),
    /**
     * 设备状态：正常、故障
     */
    DEVICE_STATUS_NAOMAL("DEVICEALLSTATUS01", "正常"),
    DEVICE_STATUS_FAILURE("DEVICEALLSTATUS02", "故障"),
    
    /**
     * 设备连接状态：在线、离线、未知
     */
    DEVICE_STATUS_ONLINE("DEVICELINKSTATUS01", "在线"),
    DEVICE_STATUS_UNLINE("DEVICELINKSTATUS02", "离线"),
    DEVICE_STATUS_UNKNOWN("DEVICELINKSTATUS03", "未知"),
    /**
     * 设备维修状态：报修中、维修中、停用中、使用中、报废中
     */
    DEV_REP_STATUS_REPAIRING("DEVREPSTATUS01","报修中"),
    DEV_REP_STATUS_MAINTAINING("DEVREPSTATUS02","维修中"),
    //DEV_REP_STATUS_DISUSEING("DEVREPSTATUS03","停用中"),
    DEV_REP_STATUS_USEING("DEVREPSTATUS04","使用中"),
    //DEV_REP_STATUS_DELETE("DEVREPSTATUS05","报废中"),
    /*DEV_REP_STATUS_REPORT("DEVREPSTATUS06","报备中"),*/
    /**
     * 巡检结果：未巡检、正常、异常
     */
    DEV_CHECK_RESULT_NONE("DEVICERESULT01","未巡检"),
    DEV_CHECK_RESULT_NAOMAL("DEVICERESULT02","正常"),
    DEV_CHECK_RESULT_FAILURE("DEVICERESULT03","异常"),
    /**
     * 设备报警类型：设备状态异常、网络连接不通、 高丢包率、高响应时间、疑似数据丢失、设备脱机、 数据延迟、 数据无效、其他报警类型
     */
    DEV_WRAN_TYPE_STATUS("DEVWRANTYPE01","连接状态异常"),
    DEV_WRAN_TYPE_UNPING("DEVWRANTYPE02","网络连接不通"),
    DEV_WRAN_TYPE_HIGHPACK("DEVWRANTYPE03","高丢包率"),
    DEV_WRAN_TYPE_HIGHRESP("DEVWRANTYPE04","高响应时间"),
    DEV_WRAN_TYPE_NODATA("DEVWRANTYPE05","数据疑似丢失"),
    DEV_WRAN_TYPE_OFFDATA("DEVWRANTYPE06","数据脱机"),
    DEV_WRAN_TYPE_DELAYDATA("DEVWRANTYPE07","数据延迟"),
    DEV_WRAN_TYPE_VOIDDATA("DEVWRANTYPE08","数据无效"),
    DEV_WRAN_TYPE_OTHER("DEVWRANTYPE09","其他报警类型"),
    /**
     * 设备报警等级：严重、一般、常规
     */
    DEV_WRAN_LEVEL_SERIOUS("DEVWRANLEVEL01","严重"),
    DEV_WRAN_LEVEL_WRAN("DEVWRANLEVEL02","一般"),
    DEV_WRAN_LEVEL_GENERAL("DEVWRANLEVEL03","常规"),
    /**
     * 设备策略等级：一级策略、二级策略、三级策略
     */
    DEV_TACTICS_LEVEL_FIRST("DEVTACLEVEL01","一级策略"),
    DEV_TACTICS_LEVEL_SECOND("DEVTACLEVEL01","二级策略"),
    DEV_TACTICS_LEVEL_THIRD("DEVTACLEVEL01","三级策略");

    private final String key;

    private final String value;

    private EnumDicPublic(String key, String value) {
        this.key = key;
        this.value = value;
    }

    public String getKey() {
        return this.key;
    }

    public String getValue() {
        return this.value;
    }

    public String toString() {
        return this.name();
    }
}
